package ls.vuecp.gui.toolbar;

import java.awt.Dimension;

import javax.swing.JSeparator;

public class JLineSeparator extends JSeparator
{
	private Dimension dim;

    public JLineSeparator(int orient, int w, int h)
    {
        super(orient);
//        this.setForeground(VueResources.getColor("dividerBarColor"));
        dim = new Dimension(w, h);
    }

    public Dimension getPreferredSize()
    {
        return dim;
    }

    public Dimension getMaximumSize()
    {
        return getPreferredSize();
    }
}
